<accordion>
    <accordion-group is-open="$ctrl.info.issue">
        <accordion-heading>
            用户故事 <i class="pull-right fa fa-angle-right" ng-class="{'fa-angle-down': $ctrl.info.issue, 'fa-angle-right': !$ctrl.info.issue}"></i>
        </accordion-heading>
        <div class="form-group">
            <label class="col-sm-1 control-label">需求列表</label>
            <div class="col-sm-8">
                <table class="table table-bordered table-hover table-condensed" style="margin-bottom: 0px;">
                    <thead>
                        <tr>
                            <th style="width: 10%;">分组标签</th>
                            <th colspan="2" style="width: 65%;">描述</th>
                            <th style="width: 15%;">交付给</th>
                            <th style="width: 5%;" ng-if="!$ctrl.canOperate">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr ng-show="$ctrl.issueList.length == 0">
                            <td colspan="10">暂无数据！</td>
                        </tr>
                        <tr ng-repeat="data in $ctrl.issueList" data-id="{{$index + 1}}" ng-show="$ctrl.issueList.length > 0">
                            <!-- <td><span>{{data.number}}</span></td> -->
                            <td data-status="select" style="width: 10%;">
                                <input type="text" class="form-control" placeholder="请输入..." ng-model="data.sltTagGroup" ng-disabled="(data.id ? ($ctrl.issueList[0].reqCount > 0 || $ctrl.canOperate) : false)">
                            </td>
                            <td data-status="select" style="width: 10%;">
                                <m-ui-select prompt="请选择用户" callback-data="data" itme-list="$ctrl.issueUser" selected-item="data.sltUser" select-item-fun="selectUserItem(item)" has-disabled="(data.id ? ($ctrl.issueList[0].reqCount > 0 || $ctrl.canOperate) : false)">
                                </m-ui-select>
                            </td>
                            <td data-status="input">
                                <input type="text" class="form-control" placeholder="故事话术：需要实现xxxx样的功能/效果，以便于获得/降低/得到/节省XXXX样的好处/时间/盈利机会." ng-model="data.action" ng-disabled="(data.id ? ($ctrl.issueList[0].reqCount > 0 || $ctrl.canOperate) : false)">
                            </td>
                            <td data-status="select">
                                <m-ui-select prompt="指派对象" callback-data="data" itme-list="$ctrl.userList" selected-item="data.sltToAccount" select-user-fun="selectToAccount(user)" has-disabled="(data.id ? ($ctrl.issueList[0].reqCount > 0 || $ctrl.canOperate) : false)">
                                </m-ui-select>
                            </td>
                            <td class="actions" style="padding-top: 12px;" ng-if="!$ctrl.canOperate">
                                <i class="glyphicon glyphicon-trash" ng-click="$ctrl.clickDeleteBtn(data)" ng-hide="(data.id ? $ctrl.issueList[0].reqCount > 0 : false)"></i>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="form-group" ng-hide="$ctrl.canOperate">
            <div class="col-sm-1"></div>
            <div class="col-sm-8">
                <i class="fa fa-plus-square-o" style="padding-right: 5px;cursor: pointer; font-size: 25px;" popover="继续拆分" popover-trigger="mouseenter" ng-click="$ctrl.clickAddTr()"></i>
            </div>
        </div>
    </accordion-group>
</accordion>